import React from 'react';
import cx from 'classnames';
import './Responsive.scss';

type Props = {
  className: string,
  children: Node
};

const Responsive = ({ children, className, ...rest }: Props) => (
  <div className={cx('responsive', className)} {...rest}>
    {children}
  </div>
);

export default Responsive;
